#include <stdio.h>
int main()
{
int x;
printf("please input a number:\n");
scanf("%d", &x);
printf("the result is %d\n",div(x));
}

int div(int x)
{
int bias = (x >> 31) & 0xF;
return (x + bias) >> 4;
}